Method for differentiating between background and foreground of scenery and also method for replacing a background in images of a scenery

ABSTRACT

The present invention relates to a method for differentiating between background and foreground in images or films of scenery recorded by an electronic camera. The invention relates in addition to a method for replacing the background in recorded images or films of scenery whilst maintaining the foreground.

PRIORITY INFORMATION

The present application is a U.S. divisional application of U.S. divisional application Ser. No. 15/152,783 filed May 12, 2016 which is a continuation of U.S. application Ser. No. 13/796,305 filed Mar. 12, 2013, now issued as U.S. Pat. No. 9,355,325 which is a continuation of PCT application no. PCT/EP2011/004114, filed on Aug. 16, 2011, that claims priority to German application no. 102010046025.7, filed on Sep. 20, 2010.

The present invention relates to a method for differentiating between background and foreground in images or films of a scenery recorded by an electronic camera. The invention relates in addition to a method for replacing the background in recorded images of films of a scenery whilst maintaining the foreground.

In order to separate objects or persons recorded by a camera, who/which are standing one in front of the other in an actual scene and consequently mutually hide each other, various methods exist according to the state of the art. The most widely used method is hereby chroma-keying which has been used for a long time and in which the background in the actual scene has a definite colour which does not occur in the foreground objects. By means of simple colour analysis of the recorded image, this background can then be detected and separated from the foreground. It is disadvantageous with this method that the background in the actual scene must be present in a definite colour, which is not achievable in many situations.

It is the object of the present invention to indicate a method for differentiating between background and foreground in images or films of a scenery recorded by an electronic camera, which allows freedom in design of the background and of the foreground. In addition, it is the object to indicate a method for replacing a background in an image or film of a scenery, in which background and foreground can be designed freely.

This object is achieved by the method for differentiating between background and foreground in images of a scenery recorded by an electronic camera, the method for replacing a background in an image of a scenery and the electronic display system.

According to the invention, a method is provided, by means of which background and foreground can be differentiated from each other in images of a scenery recorded by an electronic camera. A part of the scenery which is remote from the camera is thereby regarded as background and the part of the scenery close to the camera as foreground. The scenery is the entirety of the objects of the background and of the foreground. If reference is made to images here, these can be fixed images or preferably frames of a film. Neither background nor foreground must thereby completely fill the image and can also appear only in parts or not at all in the image. The method according to the invention can also be used on partial regions of images. Thus for example in recordings of sporting events, pitch-perimeter advertising can be differentiated from players standing in front of it. In general, it is assumed that the foreground covers the background in regions from the perspective of the camera.

The method according to the invention can be implemented both in stationary images and in films of the scenery which are recorded with an electronic camera, i.e. for example a camera with a CCD- or CMOS image sensor. In principle, the method can also be implemented on the basis of image signals recorded by analogue electrical cameras, however implementation with digital cameras is preferred.

According to the invention, the background can display any image. This can be for example an image having a plurality of colours and/or a plurality of brightness stages. In particular, a monochrome and uniformly bright surface is preferably not understood as image in the sense of this document.

The image of the background is now shown with a coding which preserves the visibility of the image for a direct human observer of the scenery or even is completely invisible for such an observer of the scenery. The image with the coding being visible by a direct observer of the scenery means that this visibility is at least provided if the observer is directly observing the scenery in situ and is at a sufficient distance from the background, at which distance he is able however still to recognise the content of the image. The coding of the image therefore can comprise structuring of the image or of the background provided that this is so fine that an observer recognizes the image at a sufficient distance without the structuring thereby having a disturbing effect or being perceptible.

An image or film of the scenery with the background and the coding and also with a foreground situated in front of the background is now recorded by means of an electronic camera. An image sensor of the camera which records the images of the scenery thereby produces a signal. In this signal, the background is now differentiated from the foreground by means of the coding. It is thereby exploited that the background has the coding but the foreground does not.

Since the differentiation of the background from the foreground is undertaken in the signal of that image sensor which records the images or the film of the scenery for subsequent display or further processing or transmission, the method can be implemented with a camera having only one image sensor, namely the one recording the images, without a plurality of image sensors being required. Preferably, the method is therefore implemented with precisely one image sensor. According to the invention, also only the precisely one image signal of this one image sensor is therefore required.

In some embodiments, it can be necessary in order to recognise the background by means of the coding to modify suitably the image to be recorded by the camera or the image sensor. It is then preferred if the recorded image of the scenery is modified for storage, further processing or transmission such that the modification is undone just before recording of the image so that at least the foreground in the eventually produced image appears unadulterated, just as it would appear in a non-modified image.

In an advantageous embodiment of the invention, the coding of the image or of the background can comprise the background displaying periodically alternating different components of the image, the components of respectively one period composing the complete image. The period duration, i.e. the time within which all the components of the image are shown once, is thereby chosen to be so short that the complete image is visible for a direct observer of the scenery. An exposure time of the camera is now synchronised with the display of the components such that the camera always records only one component of the image which is chosen such that it allows a differentiation between the foreground and the background by means of a keying method, preferably by means of colour-based keying, such as e.g. chroma-keying. If m is the number of components into which the image is subdivided, then if the camera records precisely one component of each period, advantageously the frequency at which the components are changed when shown m-times the exposure frequency of the camera.

In the course of showing such components, at least one imaging parameter which influences the display of the image can be changed in the course of one period. There can be understood by an imaging parameter, for example a value or a group of values of weighting factors or scaling factors which are suitable for controlling the colour channels, the contrast, the brightness and/or the saturation of individual pixels, groups of pixels (patterns) or the complete image.

For the keying, the component of the background recorded during the exposure of the camera provides a mask which allows differentiation of the background from the foreground. Thus for example the exposed component can display a specific colour component of the image of the background amplified or exclusively, this colour component being chosen preferably such that it is not present or only weakly in the foreground. In this case, the foreground can be differentiated from the background for example by means of colour-based keying, in particular chroma-keying.

According to the invention, any method which enables production of a mask by means of which the background can be differentiated from the foreground is intended to be understood as keying process in all embodiments of the invention. In general, “keying” describes a process for detecting components in an image or video. The components can thereby be recognised or filtered out (image analysis) and possibly replaced by other image sources (image composition). In the image analysis, specific features or codings in the image are detected and a mask which corresponds to the image components to be detected is generated therefrom. The mask can serve as template in the image composition. Calculation of the mask on the basis of the property or of the coding need not necessarily be complete and can be supplemented by further processes. There are included herein for example image analysis processes, such as optical flow, image segmentation according to colour, edges or the like or heuristics (i.e. assumptions about the objects in the scene). In particular, information can be derived from a camera tracking, with the help of which the viewing angle of the camera in the scene is known so that location and size of the background or even of the foreground in the image can be predetermined.

In general, there is therefore added to the background as coding a property which does not occur in the foreground or occurs only more weakly such that the background can be differentiated from the foreground in a mask based on this property.

In the above-described embodiment, the component used for exposure makes available the mask used for the keying. The other component or components of one period complete the image to form the complete image for a direct observer of the scenery. During the showing of these other components, the camera preferably does not record.

For example, the component shown during the exposure can display a specific colour component of the image amplified or reduced so that the foreground can be differentiated from the background by means of this colour component. The exposed component thereby shows this colour component increased when the foreground shows it reduced, or reduced when the foreground shows it increased. The component or the other components which the background shows in one period can then show the complementary colour components correspondingly reduced or increased so that the direct observer of the scenery perceives the actual colours of the image.

In an advantageous embodiment of the invention, the image of the background can be divided into respectively exactly two components which are shown alternating with a specific frequency. The camera can then record synchronously with half the frequency of the exchange. Therefore always two components of the image are shown during one cycle of the camera. The frequency with which the shown component is changed is therefore here twice as high as the exposure frequency of the camera.

In another realization, given by way of example, of the above-described embodiment, the colours can be divided into three components and only one third exposed. The camera therefore exposes only one of the three components. In this case, the frequency with which the component is changed would be chosen to be three times as high as the exposure frequency of the camera.

A further embodiment of the method according to the invention provides that the coding of the image or of the background comprises the background displaying temporally alternating patterns which complement each other within one period to form the complete image. The background can be differentiated from the foreground in the signal of the image sensor by means of the periodically alternating pattern.

In an advantageous embodiment of the invention, a pattern detection, for example on the basis of a Fourier transform and/or Fourier filtering, can hereby be implemented in the signal of the image sensor. Consequently, the background can be differentiated from the foreground by means of the frequency with which the patterns are shown alternating. In a Fourier transform the background regions here show a component of the alternating frequency which the foreground does not show.

The patterns which the background shows can advantageously be periodic in a scanning direction of the image sensor and can in particular be for example a chessboard pattern. The individual regions of the pattern, i.e. for example the squares of the chessboard, can oscillate between light and dark just as between various colour components.

In order to produce the oscillating pattern, the background can be self-illuminating inter alia, for example an LED display, or an controllable filter corresponding to the pattern can also be disposed in front of the image of the background, which filter periodically blocks different parts of the image alternately.

In the case of a chessboard pattern, the oscillating pattern can show alternately in the chessboard pattern and the chessboard pattern inverse hereto.

Preferably, the pattern is binary, i.e. is switched precisely between two states. A given region of the pattern, in one state, lets through light of the image completely or illuminates with maximum brightness and, in the other state, tones down the light of the image or illuminates with reduced brightness. The toning down can also be complete toning down or complete darkness.

In a further embodiment of the invention, the coding of the image or of the background can comprise the image being represented in a grid in the form of coloured dots on a backdrop. The coloured dots together with the backdrop surrounding them thereby compose the colour of the image at the location of the coloured dot. It is thereby also possible that the backdrop of the image is black so that the colour of the image is given precisely by the colour of the coloured dots.

A colour filter is now disposed in front of the image sensor or in front of the camera, which colour filter precisely tones down the colours of the coloured dots or filters them out and possibly lets the colours of the background pass through without toning them down. Since in practice the background is not completely black, the colour filter, even in the case of a black background, lets through those colours which are not the colours of the coloured dots without toning them down.

In the image recorded by the image sensor, the colour of the backdrop of the image is present increased relative to the colours of the coloured dots as a result of the filter. If now, as in all colour-based embodiments of the invention, a colour is chosen for the backdrop which is not present in the foreground or only weakly, then the background can be differentiated from the foreground by means of colour-based keying. It is also possible to chose the colour filter such that all the colours of the scenery, with the exception of those of the coloured dots, can be composed from the colours let through by the colour filter.

In order to display the foreground in the finally produced image without colour deviation, the effect of the colour filter in front of the image sensor can be computated out.

In a particularly preferred embodiment, the colour filter in front of the image sensor can be a spectral filter, in particular an interference filter, which filters out specific ranges of the visible spectrum which are distributed over the entire visible range. In front of each of the coloured dots respectively, a spectral filter or interference filter which is complementary to the filter in front of the camera can then be disposed, which filter, for its part, lets through colours distributed uniformly over the visible spectrum so that, from these, all colours which are required for display of the image can be displayed. The fact that the colour filters of the coloured dots and of the camera are complementary, means here that, within the visible range, they let through different, essentially non-overlapping ranges of the visible spectrum. Instead of interference filters, also for example Notch filters can be used.

Because of the coloured dots, the background represents the image in a grid. The resolution of the grid is thereby chosen preferably such that an observer of the scenery recognises the image from a specific distance.

The coloured dots of the background can be configured to be reflecting or self-illuminating. Self-illuminating coloured dots can be produced for example by means of light bulbs or light diodes (LEDs). Since light diodes can be realized with very monochrome light, it is possible to compose the coloured dots of the background from light diodes and, by means of a filter in front of the image sensor or the camera, for example an interference filter, to filter out or tone down precisely the frequencies transmitted by the light diodes. If the frequencies not transmitted by the light diodes are let through by the filter in front of the camera without being toned down, then the backdrop of the image and also the foreground can be displayed from these colours.

In a further embodiment of the invention, the coding of the image can comprise the background radiating or reflecting only colours selected from at least one, preferably at least two, ranges of the visible spectrum at a spacing from each other in the spectrum. A colour filter through which the light emanating from the scenery runs before impinging on the image sensor is now disposed in front of the image sensor or the camera. Said colour filter is chosen such that it tones down those ranges of the visible spectrum from which the colours of the image are selected but lets through ranges of the visible spectrum situated between these ranges without being toned down. In this way, the background is present on the image sensor toned down or dark, whilst the foreground appears composed of those colours which are let through by the colour filter. If the filtered-out ranges or the ranges of the spectrum which are let through are chosen suitably, all colours of the foreground can consequently be displayed. In particular, also the choice of ranges which are let through can be adapted to those colours occurring in the foreground.

In the image recorded by the image sensor, the foreground is now differentiated from the background by means of keying onto the toned-down regions. The toning down in this case therefore produces the keying mask. If the toning down by the filter in front of the image sensor is not complete, then, provided it is necessary, the toned-down regions, in particular the foreground, can be reconstructed calulationally in order to display the final image.

Advantageously, the coding of the background can be achieved in this case by disposing a corresponding colour filter, i.e. for example an interference filter, in front of the background and behind the foreground, i.e. between the background and foreground. In this way, the light emanating from the background runs through this colour filter so that from the background essentially only that light which is filtered out by the filter between background and foreground impinges on the colour filter in front of the camera. Colour components which are not filtered out or toned down by the filter in front of the camera thereby emerge only from the foreground.

In a further possible embodiment of the invention, the coding of the background can comprise the background emitting electromagnetic radiation at least of one non-visible spectral range. A conversion device can now be disposed in front of the image sensor or in front of the camera. This can have a planar configuration, having a surface orientated essentially parallel to the image sensor and/or parallel to the light entrance surface of the camera.

The conversion device now has regions, on the one hand, at which the visible light can pass through the device without impedance. In other regions, the device has elements which effect a conversion of the non-visible radiation into visible light and include the converted light in the beam path of the light emanating from the background. The inclusion in the beam path can take place for example by means of one or more suitable lenses which include the light-converting element in the beam path of the camera lens system such that it appears for the camera as part of the background. Advantageously, a separate lens of this type is assigned to each light-converting element.

Preferably, the converting elements are disposed on the surface of the conversion device in a grid. They are present therefore on this surface at equidistant spacings. The visible light can pass through the device between the conversion elements.

The non-visible electromagnetic radiation can be UV radiation or infrared radiation.

In the image recorded by the image sensor, the conversion device produces a mask, by means of which the background is differentiated via a keying process from the foreground which does not emit, or only to a lesser extent, the corresponding non-visible radiation. Advantageously, the conversion device converts the non-visible light into a colour which does not occur in the foreground or only to a lesser extent.

There are possible as light-converting elements dots of fluorescent or phosphorescent material. In turn, preferably a device for integration of the corresponding dot into the background in the beam path of the camera is provided for each of the dots. The conversion of the light by the fluorescent or phosphorescent materials produces here a non-directed, visible light of a specific colour. Therefore, lenses which are subsequently positioned and integrated in the filter are preferably used in order to bundle this scattered light corresponding to the optical path. As assistance, also barriers can be used here in the filter which correspondingly complement the function of the lenses. The barriers can thereby absorb or reflect the part of the scattered light which cannot be bundled in the beam path of the camera as a result of its direction through the lenses because it extends for example transversely relative to the beam path. For scattered light counter to the beam path, the barrier can be semi-reflective (i.e. the incident non-visible electromagnetic radiation is let through, the scattered light converted by the materials is, in contrast, reflected in the reverse direction and hence again cast back into the beam path).

In a further possible embodiment of the present invention, the coding of the image can comprise the background or the image radiating and/or reflecting polarised light only of one specific polarisation direction or polarisation direction of rotation. Linear polarisation or circular polarisation can be used here. A colour filter and a polarisation filter are now disposed in front of the camera or the image sensor through which filter the light emanating from the scenery runs before it impinges on the image sensor. Preferably, the colour filter is thereby disposed in front of the polarisation filter so that light emanating from the scenery therefore runs firstly through the colour filter and then the polarisation filter before it impinges on the image sensor. The colour filter can preferably tone down or increase or amplify one colour component.

The polarisation filter in front of the image sensor is thereby orientated now such that it filters out light of that polarisation which is radiated or reflected by the image. As a result, differentiation of the background from the foreground can be effected by means of keying onto the dark image components in the image produced by the image sensor. The dark image components which have no colour tone of the colour filter serve therefore as mask for the keying.

Reference may be made to the fact that the colour filter here preferably only tones down the corresponding colour component but does not filter it out completely. In this way, those black regions, which are produced as a result of the fact that the polarisation filter filters out polarised light of the background, can be differentiated from possible black regions of the foreground as a result of the fact that the latter have a lighter black which has the colour tone of the colour filter. The recorded black in natural scenes is not completely dark but rather dark grey. Also the objects hence obtain a non-perceptible but measurable colour tone, due to the colour filter. The light reduced by the polarisation filter is however most extensively absorbed independently of the colour.

In a further possible embodiment of the present invention, the coding of the image or of the background comprises the background emitting electromagnetic radiation at least of one non-visible spectral range, such as UV or infrared. A conversion device through which light emanating from the scenery runs before it impinges on the image sensor is now disposed in front of the image sensor. This conversion device converts the non-visible electromagnetic radiation which emanates from the scenery into visible light and blends this into the scenery from the perspective of the image sensor.

Advantageously, the conversion device has a beam splitter through which the light runs before impinging on the image sensor and which deflects the non-visible radiation at least in part towards a converter which detects the non-visible radiation and produces a corresponding pattern of visible light which corresponds precisely to the background. This visible light can be blended into the beam path towards the image sensor for example via a semi-permeable mirror so that the image sensor sees the scenery through the semi-permeable mirror and the beam splitter. Thus, in this embodiment, firstly the non-visible radiation is deflected via the beam splitter at least in part out of the beam path and an image corresponding to the background is blended in via the semi-permeable mirror.

The converter can have an image sensor and an imaging lens system via which an image of the background is produced on the image sensor from the non-visible radiation. The conversion device can produce the corresponding visible radiation then for example by means of an image display, the image of which is blended into the beam path of the camera, as described. The blended-in image of the display forms an additional colour tone or a pattern in the region of the background in the image produced by the image sensor of the camera. The subsequent keying produces a mask herefrom, by means of which the background can be differentiated from the foreground.

In all the embodiments, an element being disposed in front of the camera or in front of the image sensor means that it is disposed between the image sensor and the foreground of the scenery. It can thereby be accommodated in front of the camera lens system, in the camera lens system or between the camera lens system and the image sensor. The fact that a filter may be disposed in front of the background means that it is disposed, on the one hand, between the image or the background and, on the other hand, the foreground.

In all embodiments of the invention where periodically alternating components of the background or of an image of the background are shown, the alternating frequency is preferably greater than the maximum perceptible alternating frequency of 25 Hz, above which the shown alternating components are perceived by an observer as an image composed of the components. The alternating frequency is preferably greater than or equal to 50 Hz.

The invention is intended to be explained subsequently by way of example with reference to some figures. The same reference numbers thereby correspond to the same or corresponding features. The features shown in the examples can also be combined in the various examples and be produced independently of the concrete example.

There are shown:

FIG. 1 a construction for implementing the method according to the invention according to a first embodiment of the present invention;

FIG. 2 a construction for implementing the method according to the invention according to a second embodiment of the present invention;

FIG. 3 a construction for implementing the method according to the invention according to a third embodiment of the present invention;

FIG. 4 a construction for implementing the method according to the invention according to a fourth embodiment of the present invention;

FIG. 5 a construction for implementing the method according to the invention according to a fifth embodiment of the present invention;

FIG. 6 a construction for implementing the method according to the invention according to a sixth embodiment of the present invention;

FIG. 7 a construction for implementing the method according to the invention according to a seventh embodiment of the present invention; and

FIG. 8 two spectra of two mutually complementary interference filters as schematic representation.

FIG. 1 shows a device for implementing the method according to the invention according to a first embodiment of the invention. Scenery with a foreground 2 and a background 3 is filmed by means of a camera 1. The camera 1 has an image sensor, not shown, which produces an image signal 4 which is supplied to a device for image analysis and/or image processing 5. The camera 1 can have for example an imaging lens system 1 a and a camera housing 1 b in which the image sensor is disposed.

The foreground 2 is a simple cube in the illustrated example. In all embodiments, the method according to the invention can however be implemented with any foregrounds 2, in particular for example with sportspersons of a sporting event. The background 3 can likewise be of any kind as long as it allows a coding as is required for implementing the invention. For example, the background can be a studio background or pitch-perimeter advertising in a stadium.

In the example shown in FIG. 1, the background 3 shows an image. Periodically alternating different components of respectively one period of the image are thereby represented, the components composing the complete image. The display of the components of the image at times t₁, t₂, t₃ . . . , t₈, . . . is now synchronised with the exposure of the camera such that the camera records, in at least one period, preferably in each period, only a specific one of the components t₁, t₃, t₅, . . . which is chosen such that it allows a differentiation between foreground and background in the image signal by means of keying. The keying can be for example colour-based keying, preferably chroma-keying. The analysis device 5 then differentiates the background from the foreground in the images 4 recorded by the image sensor of the camera 1.

In the illustrated example, the image of the background can be divided for example into two images, the first image comprising an optionally reduced colour component from the original image of the background and the second image the complementary colours so that the original image is produced in the combination of both images. Both images can then be shown alternating in such a high frequency that they are no longer individually perceptible to an observer (e.g. 100 Hz). The recording camera 1 can then operate synchronously with half the frequency (e.g. 50 Hz) and with a reduced exposure time (e.g. 1/100 sec.) so that only the first of the two images with the chosen colour component is recorded by it. The method can be produced here also passively with a reflecting background. For this purpose, an actuatable LCD colour filter can be disposed in front of the background, which filter lets through respectively the corresponding component of the image. In the active case in which the background is self-illuminating (for example as LCD display), the background can be actuated specifically in order to show correspondingly the components of the image.

FIG. 2 shows a further advantageous setup for implementing the method according to the invention. The background for the coding hereby shows periodically alternating patterns which complement each other within one period to form the complete image. If all the patterns of one period are therefore regarded together, then the complete image is produced.

The scenery comprising background 3 and foreground 2 is recorded by the image sensor of the camera 1 and the image signal 4 is analysed by means of an analysing device 5. In the image recorded by the image sensor, the background 3 can now be differentiated from the foreground 2 by means of the periodically alternating pattern. For this purpose, a Fourier transform can be implemented for example in the signal 4 of the image sensor and the background 3 can be differentiated from the foreground 2 by means of the frequency of the alternating display of the patterns. The image sensor can hereby be scanned for example in lines and the analysis can be implemented directly in the scan signal. The periodically alternating pattern produces a frequency component in the Fourier transform with the alternating frequency wherever the background is imaged.

The analysis can be effected both over time by means of analysis of successive images and within one image. Hence, the corresponding pattern in the image analysis of the camera 1 can be sought. The analysis can be assisted by information from a camera tracking. For example, information from the camera tracking can help in the determination of the pattern size.

Different patterns are possible. In the illustrated case, the background 3 shows a chessboard pattern with alternating black squares and squares which show the cut-out from the image at the location of the corresponding square. The chessboard pattern and the chessboard pattern complementary hereto, in the case of which the black squares and squares showing the image are exchanged relative to the actual chessboard pattern, is shown here alternating.

The frequency of the oscillation is chosen so high here that it cannot be perceived by the observer (e.g. 50 Hz). The frequency can also be coupled to the image frequency of the camera.

The pattern of the background can be produced passively, for example by an actuatable filter, such as an LCD filter. It can also be configured actively as a self-illuminating background, for example as LED display.

FIG. 3 shows a further possible arrangement for implementing the method according to the invention. For the coding, here the image is represented by means of coloured dots 6 on a backdrop 7. The coloured dots 6 on the backdrop 7 are preferably arranged in a grid. The coloured dots 6, respectively together with the backdrop surrounding them, represent the colour of the image at the corresponding location. The backdrop can also be black so that the complete contribution to the colour of the image by the coloured dots is provided. A colour filter 8 is now disposed in front of the image sensor of the camera 1, preferably in front of the lens 1 a of the camera 1, which coloured filter tones down or filters out precisely the colours radiated from the coloured dots. Preferably, the colour of the backdrop 7 of the background 3 is chosen such that it does not occur or only to a small extent in the foreground 2. In the image signal 4 produced by the image sensor of the camera 1, the foreground 2 can then be differentiated from the background 3, in the analysing device 5, by means of keying onto the colour tone of the backdrop 7. The backdrop 7 forms here therefore the colour to be analysed (or a pattern) for production of a mask for the keying.

Preferably, the dots are disposed such that the grid does not appear to be grid-shaped for a direct observer at a specific minimum distance. This minimum distance can be provided for example by the normal location of observers in the scenery itself, in the case of pitch-perimeter advertising in a stadium for example by the distance of the nearest seats from the pitch-perimeter advertising. If then the coloured dots 6 are disposed in a grid on a specially coloured or black backdrop 7 at a small spacing relative to each other, the actual image is visible for the observer. Furthermore, the grid should also be chosen to be so narrow that the grid cannot be detected by the camera from the position thereof at a specific minimum distance. Both for the camera and for an observer in the scenery, the desired coloured impression is then produced from a corresponding distance relative to the background.

The coloured dots now radiate only specific wavelengths from the visible range of light which are filtered out precisely by the colour filter 8 in front of the image sensor so that only the colour of the backdrop essentially remains left on the image sensor.

The solution with interference filters, which is shown in FIG. 3 and dealt with later in more detail with reference to FIG. 8, can be achieved particularly favourably. An interference filter which lets through only a part of the frequencies of the visible spectrum is hereby disposed in front of each coloured dot 6. The part thereby preferably has a plurality of regions at a spacing from each other which are distributed over the visible spectrum such that the colours of the image can be composed therefrom. The colour filter 8 is then an interference filter which is complementary to the colour filters in front of the coloured dots 6, which interference filter filters out or tones down precisely those colours which are let through by the colour filters in front of the coloured dots 6 without being toned down. The coloured dots 6 are preferably self-illuminating, i.e. for example light bulbs or LEDs.

FIG. 4 shows a further possible embodiment for implementing the method according to the invention. There is disposed hereby, between the background 3 and the foreground 2, a colour filter 9 which radiates only colours selected from at least one, preferably two, ranges of visible light which are at a spacing from each other in the spectrum. In front of the image sensor or the lens system 1 a of the camera 1, there is then disposed a further colour filter 8 through which light emanating from the scenery runs en route to the image sensor. This colour filter 8 filters out or tones down precisely those ranges of the spectrum which are let through by the colour filter 9. As a result, on the image sensor the background appears toned down or black relative to the foreground 2 which radiates in particular light of those frequency ranges which are let through by the colour filter 8. The dark regions therefore form a mask in the image signal 4 of the image sensor, with which mask keying onto the dark regions and hence to the background can be implemented. In this way, the image analysing device 5 can differentiate the background 3 from the foreground 2.

In this embodiment, the filters 8 and 9 are also preferably interference filters which are complementary to each other, i.e. are permeable for different, preferably non-overlapping ranges of the visible spectrum.

The colour filter 9 can also be dispensed with if the background 3 radiates per se only light of specific frequency ranges which are filtered out by the filter 8. Such a self-illuminating background can be produced for example with LEDs which radiate a defined spectrum. The colour filter 8 is then designed such that it tones down or filters out precisely the frequencies radiated by the LEDs.

The filter 9 can be chosen such that the colour regions of the visible spectrum which are let through by it suffice to display the colours occurring in the background. Correspondingly, the colour filter 8 can also be chosen such that the frequencies let through by it suffice to display the colours occurring in the foreground 2. In this way, the image produced by the image sensor can be used further without correction. However, a correction of the colours of the foreground is always possible in the image recorded by the image sensor which corrects possible colour deviations because of the filter 8.

FIG. 5 shows a further construction for implementing the method according to the invention. For the coding, the background radiates non-visible radiation 10 which can for example be ultraviolet radiation or infrared radiation. A planar conversion device 11 is now disposed in front of the image sensor or in front of the lens 1 a of the camera 1, which conversion device lets through radiation impinging on it in regions and has elements 15 in regions which are for example fluorescent or phosphorescent, by means of which the non-visible radiation 10 is converted into visible light 13. The elements 15 can thereby be disposed uniformly and in particular in a grid over a surface of the device 11 so that visible light 12 can pass through in every region, on the one hand, and, on the other hand, the non-visible radiation 10 can be converted into visible light. All radiation impinging on the image sensor runs through the device 11. On the image sensor, the light passing unchanged through the device is therefore represented, on the one hand, and, on the other hand, the light 13 produced by the conversion of the non-visible radiation 10. Since the non-visible radiation 10 emanates from the background 3, the image sensor of the camera 1 records the light 13 precisely where the background 3 is imaged. Preferably, the colour of the light 13 produced by the device 11 is chosen such that it can be differentiated from the colours occurring in the foreground 2. The produced light 13 then forms a mask, by means of which the background 3 can be differentiated from the foreground 2 by a keying process.

Provided that the elements 15 for the conversion of non-visible radiation into visible light 13 radiate undirected light 13, a lens 14 can be assigned to each of the elements 15, which lens is disposed such that it represents the unconverted light 13 from the perspective of the image sensor in the background 3. Preferably, screening can also be provided for each element, which screening lets light pass through only in the direction of the optical beam path.

FIG. 6 shows a further possible arrangement for implementing the method according to the invention. The background 3 hereby radiates polarised light 16 of a specific polarisation direction. A colour filter 17 and also a polarisation filter 18 is now disposed in front of the image sensor of the camera 1, the passage direction of which is perpendicular to the polarisation direction of the light 16 radiated from the background. When using circular polarisation, the passage direction of rotation would be complementary to the polarisation rotation. Preferably, light emanating from the scenery firstly runs though the colour filter 17 and then the polarisation filter 18 before it impinges on the image sensor. In the image recorded by the image sensor, the background appears dark, without colour tone, in this arrangement. For direct observers of the scenery, the background 3, in contrast, appears in its normal colours since these observers can perceive the polarised light 16. A colour tone, which the foreground 2 has in the image produced by the image sensor of the camera 1 because of the colour filter 17, can subsequently be compensated for in the image signal 4 by the computer.

In this embodiment of the method, the dark image components without colour tone, i.e. those image components resulting from the background 3, form a mask, by means of which keying can be implemented in order to differentiate the background 3 from the foreground 2.

FIG. 7 shows a further arrangement for implementing the method according to the invention. The background 3 hereby radiates non-visible radiation 10, for example ultraviolet radiation, or infrared radiation in addition to the actual image. In front of the image sensor, preferably in the direction of the beam path behind the imaging lens system 1 a of the camera 1, a conversion device 19 is disposed in this embodiment, by means of which a visible image of the background 3 can be produced from the non-visible light. The device 19 thereby has a beam splitter 20 and a semipermeable mirror 21 which are disposed in succession in the beam path of the light impinging on the image sensor from the scenery. The beam splitter 20 deflects the non-visible light at least partially onto an image sensor 22 of the conversion device 19. A converter 24 records the image produced by the image sensor 22 from the non-visible radiation 10 and produces, on an image display 23, an image of visible light which corresponds to the image recorded by the image sensor and therefore shows precisely the pattern which is preset by the non-visible radiation 10. The image produced by the image display is then blended into the beam path of the light impinging on the image sensor of the camera 1 from the scenery by means of the semipermeable mirror 21 and serves in the image signal produced by the image sensor of the camera 1 as pattern for the production of a keying mask, by means of which the foreground 2 can be differentiated from the background 3 by keying.

FIG. 8 shows, in the upper and lower part, spectra of two mutually complementary interference filters in a schematic representation. The frequency of the light is plotted on the horizontal axis and is intended to span essentially the visible range in the illustrated example. The respective intensity which light which has passed through the corresponding interference filter has is plotted on the vertical axis if the interference filter is radiated with white light which comprises all frequencies of the illustrated range with the same intensity. It can be detected that the interference filters let a plurality of ranges of visible light at a spacing in the spectrum pass through. The regions of the passing light can thereby be chosen in both interference filters such that all required colours of the background 3 or of the foreground 2 can be composed from them. Both illustrated interference filters are mutually complementary which means that those regions of the spectrum which are let through by the interference filter shown in the upper part are filtered out precisely by the interference filter shown in the lower part, whilst those frequencies which are filtered out by the upper interference filter are let through precisely by the lower interference filter. Reference may be made to the fact that the filters need not completely filter out the corresponding colour components in order to make the method according to the invention possible. Toning down is also adequate. Furthermore, it is also not required that the frequency ranges are separated from each other so clearly, as is represented schematically in FIG. 8. A certain degree of overlapping of the ranges let through by the different filters is permissible. 

The invention claimed is:
 1. A method for differentiating between background and foreground of a scenery in images recorded by an electronic camera, the background showing an arbitrary image coded with a coding such that the image is visible for a direct observer of the background, and the background being differentiated from the non-coded foreground in a signal produced by an image sensor, recording the images, of the camera by means of the coding, wherein the coding comprises the background radiating, letting through or reflecting electromagnetic radiation of at least one non-visible spectral range and a conversion device being disposed in front of the image sensor, which converts the non-visible electromagnetic radiation into visible light which is detected by the image sensor, and wherein the conversion device is planar and converts, at least on a part of its surface, the non-visible radiation which is radiated, let through or reflected by the background into visible light which is detected by the image sensor and the background being differentiated from the foreground by keying on the converted light.
 2. A method according to claim 1 further comprising a filter having dots of fluorescent or phosphorescent material distributed over its surface, disposed in a grid, which dots illuminate in specific wavelengths by being excited by the non-visible radiation, and also a device, a lens, assigned to each of the dots in order to image the corresponding fluorescent or phosphorescent dots onto the image sensor.
 3. A method according to claim 1, wherein the electromagnetic radiation emanating from the scenery runs through the conversion device before impinging on the image sensor, after running through an imaging lens system of the camera, which conversion device converts the non-visible electromagnetic radiation into visible light and blends it into the scenery from the perspective of the camera at the location of the background.
 4. A method according to claim 1, wherein the conversion device has a beam splitter which deflects a part of the radiation and/or the non-visible electromagnetic radiation towards a converter which blends an image corresponding to the background into the beam path in front of the image sensor, via a partially permeable mirror, by means of the radiated electromagnetic radiation.
 5. A method according to claim 1, wherein the coding of the image comprises an oscillation over the image sequence and the oscillation being taken into account in the differentiation of the foreground from the background.
 6. A method according to claim 1, wherein the foreground is reconstructed in the image signal after differentiation of the background and foreground.
 7. A method according to claim 1, wherein the image is located in the image of the image sensor with the help of camera tracking and/or the camera tracking assists the differentiation of the background and foreground.
 8. A method for replacing a background in an image of a scenery, the background is differentiated from a foreground by means of a method according to claim 1, and the background being replaced by a different background.
 9. An electronic display system having at least one display and also at least one camera, a method according to claim 1, being able to be implemented with the electronic display system. 